package com.crane.oss.school.bean.request.classesinfo;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月26日 14时38分15秒
 */
@ApiModel(description = "单个新增班级参数")

@Getter
@Setter
@ToString
public class AddClassesInfoReq implements Serializable {

	private static final long serialVersionUID = -1280299966549821457L;

    @ApiModelProperty(value = "学校Id", name = "partyId")
    @NotNull(message = "学校不能为空")
    private Long partyId;

    @ApiModelProperty(value = "校区Id", name = "schoolId")
    @NotNull(message = "校区不能为空")
    private Long schoolId;

    @ApiModelProperty(value = "班级名称", name = "className")
    @Size(max = 255, message = "班级名称长度超限")
    @NotNull(message = "请输入班级名称")
    private String className;

    @ApiModelProperty(value = "学段", name = "section")
    @NotNull(message = "请选择学段")
    private String section;

    @ApiModelProperty(value = "年级", name = "grade")
    @NotNull(message = "请选择年级")
    private Integer grade;

    @ApiModelProperty(value = "入学年份", name = "termBeginTime")
    @NotNull(message = "请选择入学年份")
    @Size(max = 4, message = "入学年份长度超限")
    private String termBeginTime;

    @ApiModelProperty(value = "类型：0行政部、1分层班", name = "type")
    private Integer type;
    
    @ApiModelProperty(value = "添加体育教师", name = "teacherIds")
    private List<Long> teacherIds;

    @ApiModelProperty(value = "", name = "createUserId", hidden = true)
    private Long createUserId;


}
